package com.lagou.edu.service;

import com.lagou.edu.pojo.LagouToken;

/**
 * @Author: Tao Zheng
 * @classNmae: IUserService
 * @packageName: com.lagou.edu.service
 * @description:
 * @DATE: 2021/9/7 16:36
 */
public interface LagouUserService {

    LagouToken register(String email, String password, String code);

    LagouToken login(String email, String password);

    boolean isRegistered(String email);

    String getEmailByToken(String token);
}
